package authority.comm;

/**
 * layui上传组件所需要的返回数据
 */
public class LayMessage {
	private int code=0;//0表示成
	private String msg;//返回消息
	private Object data;//可以将上传后的地址返回，可以用于显示图片
	public LayMessage() {
		super();
	}
	public LayMessage(int code, String msg, Object data) {
		super();
		this.code = code;
		this.msg = msg;
		this.data = data;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	
	
	

}
